﻿using System;
using System.Collections;
using System.Collections.Generic;

namespace GetOutOfAmbushChests
{
    public class ICoroutines : IEnumerator<object>, IDisposable, IEnumerator
    {
        /// <summary>
        /// Defines the Owner of this Bot
        /// </summary>
        public Main Bot;

        /// <summary>
        /// Defines the current action
        /// </summary>
        public Int32 Action;

        /// <summary>
        /// defines the current function
        /// </summary>
        public object Function;

        ///IEnumerator
        public object Current
        {
            get
            {
                return Function;
            }
        }

        public virtual bool MoveNext() { return true; }

        public void Reset() { }

        // IDisposable
        public virtual void Dispose() { }

    }
}
